package com.wwmz.decorator.pattern.battercake.v2;

/**
 * Created by wumz on 2020/9/19 21:34
 */
public class SauageDecorator extends BattercakeDecotator {
    public SauageDecorator(Battercake battercake) {
        super(battercake);
    }
    public String getMsg(){ return super.getMsg() + "1根香肠";}

    public int getPrice(){ return super.getPrice() + 2;}
}
